//
//  SongInfo.h
//  MusicMenu
//
//  Created by Joe on 2014/12/3.
//  Copyright (c) 2014年 Tank. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MediaPlayer/MediaPlayer.h>
#import <MediaPlayer/MPMediaItemCollection.h>
#import <MediaPlayer/MPMediaItem.h>
#import <AVFoundation/AVAudioPlayer.h>

@interface SongInfo : NSObject
// test

@property(nonatomic,strong)MPMediaItemCollection *collection_song;
@property(nonatomic,strong)NSString *NS_songName;
@property(nonatomic,strong)NSString *NS_songPath;
@property(nonatomic,strong)MPMediaItem *item_song;

@property(nonatomic,assign)float songDuring;
//songDuring 單位為秒數

-(id)initWithCollection:(MPMediaItemCollection *)coll Title:(NSString *)title Time:(float)time andPath:(NSString *)path andMusicItem:(MPMediaItem *)item;



@end
